package jwebtest;

import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.jweb.core.handle.Controller;
import com.jweb.util.FormatUtil;

public class test2 {
	static int hash(int h) {
		h ^= (h >>> 20) ^ (h >>> 12);
		return h ^ (h >>> 7) ^ (h >>> 4);
	}

	// the "rehash" function in JAVA 8 that directly takes the key
	static final int hash(Object key) {
		int h;
		return (key == null) ? 0 : (h = key.hashCode()) ^ (h >>> 16);
	}
	public static void main(String[] args) {
		System.out.println(hash( 952 ));
	}
}
